package com.woniu.market_stall_web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
@RequestMapping("handle")
public class HandleController {

    @RequestMapping("/info")
    public String index(Map map){

        map.put("info", "注册成功，请登录！");

        return "login" ;
    }
    @RequestMapping("/login")
    public String login(){

        return "login" ;
    }

}
